package com.bmps.springcloud.insuredmicroservice.model.underwrite;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * description:
 * 风险保额
 *
 * @author jackdaw
 * @date 2020-04-19 13:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InsuranceRiskAmountModel implements Serializable {
    /**
     * 当前单风险保额
     */
    private BigDecimal currentAmount;
    /**
     * 历史单风险保额
     */
    private BigDecimal historicalAmount;
    /**
     * 合计风险保额
     */
    private BigDecimal sum;

    public InsuranceRiskAmountModel(BigDecimal sum) {
        this.sum = sum;
    }
}
